package com.pronosticos.reportes.dao;

import java.io.Serializable;
import java.util.List;

import com.googlecode.genericdao.search.Search;

public interface GenericDao<T, ID extends Serializable> {

    void delete(T object);

    List<T> findAll();

    List<T> findAll(Search search);

    T findById(ID id);

    void refresh(T object);

    void store(T object);
}